﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo05211
{
    //父类
    abstract class Robot
    {
        private string name;
        public string Name { get { return this.name; } set { this.name = value; } }
        public Robot() { }
        public Robot(string name) 
        {
            this.name = name;
        }
        public abstract void Working();
    }
}
